package com.wh.usercenter3.constant;

import lombok.Getter;

/**
 * 状态码类 防止硬编码
 */
@Getter
public enum Code {

    OK(200),
    CLIENT(300),
    SERVICE(400);
    private final int code;

    Code(int code) {
        this.code=code;
    }
}
